FROM java:8
VOLUME /tmp
ADD mall-admin/target/mall-admin-1.0-SNAPSHOT.jar mall-admin-1.0-SNAPSHOT.jar
ENTRYPOINT ["java", "-jar","-server","-XX:+HeapDumpOnOutOfMemoryError","-XX:HeapDumpPath=/var/logs/mall-admin-gc.heap ","/mall-admin-1.0-SNAPSHOT.jar"]
